package com.zxbit.flash.bean;

import android.os.Parcel;
import android.os.Parcelable;

public class JsOrderData implements Parcelable {

    private String token;
    private String borrowMoney;
    private String borrowDay;

    public JsOrderData() {
    }

    protected JsOrderData(Parcel in) {
        token = in.readString();
        borrowMoney = in.readString();
        borrowDay = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(token);
        dest.writeString(borrowMoney);
        dest.writeString(borrowDay);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<JsOrderData> CREATOR = new Creator<JsOrderData>() {
        @Override
        public JsOrderData createFromParcel(Parcel in) {
            return new JsOrderData(in);
        }

        @Override
        public JsOrderData[] newArray(int size) {
            return new JsOrderData[size];
        }
    };

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getBorrowMoney() {
        return borrowMoney;
    }

    public void setBorrowMoney(String borrowMoney) {
        this.borrowMoney = borrowMoney;
    }

    public String getBorrowDay() {
        return borrowDay;
    }

    public void setBorrowDay(String borrowDay) {
        this.borrowDay = borrowDay;
    }
}
